<template>
  <div class="page">
    <div class="content">
      <div class="content-top">
        <div class="title">{{ type }}</div>
        <el-divider></el-divider>
        <div class="text">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</div>
      </div>
      <div class="content-bottom">
        <el-button type="primary" @click="back">返回</el-button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "agreement",
  data(){
    return{
      type: this.$route.params.type,
      isAgreement: this.$store.state.isAgreement,
      loginWay: this.$store.state.loginWay,
    }
  },
  methods:{
    back(){
      this.$router.back()
    }
  },
}
</script>

<style lang="less" scoped>
.page{
  width: 100%;
  padding-top:30px;
  display: flex;
  justify-content: center;

  .content{
    width: 55%;

    .title {
      font-size: 2rem;
    }

    .text{
      word-wrap: break-word;
      word-break: normal;
    }

    .content-bottom{
      widht:100%;
      margin-top: 50px;
      display: flex;
      justify-content: center;
    }
  }
}
</style>
